const e = uni.getSystemInfoSync();

let StatusBar = e.statusBarHeight;
let CustomBar = 0;
// #ifndef MP
CustomBar = (e.platform == 'android')? (StatusBar + 50) : (StatusBar + 45) ;
// #endif
// #ifdef MP-ALIPAY
CustomBar = StatusBar + e.titleBarHeight;
// #endif
// #ifdef MP-WEIXIN
let custom = wx.getMenuButtonBoundingClientRect();
CustomBar = custom.bottom + custom.top - StatusBar;
// #endif

e.StatusBar = StatusBar;
e.CustomBar = CustomBar;
export default e;